package com.hengmei.smallscreen.adapter

import android.widget.ImageView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.hengmei.smallscreen.R
import com.inuker.bluetooth.library.search.SearchResult


class BleAdapter(layoutResId: Int, data: ArrayList<SearchResult>?) :
    BaseQuickAdapter<SearchResult, BaseViewHolder>(layoutResId, data) {
    override fun convert(holder: BaseViewHolder, item: SearchResult) {
        holder.setText(R.id.value1, item.name)
        holder.setText(R.id.value2, item.address)
    }


}
